package cn.wfu.rlrjds.app.repairman.service;

import java.util.List;

import cn.wfu.rlrjds.app.bean.RepairmanSearch;
import cn.wfu.rlrjds.app.repairman.domain.Repaireman;
import cn.wfu.rlrjds.app.repairman.service.ipml.RepairmanException;
import cn.wfu.rlrjds.app.user.domain.User;

public interface IRepairmanService {

	public Repaireman findRepairmanById(String id) throws RepairmanException;

	public List<Repaireman> list(RepairmanSearch repairmanSearch);

	public void saveRepairman(Repaireman repairman) throws RepairmanException;

	public void deleteRepairman(String[] ids) throws RepairmanException;

	public List<Repaireman> list();

	public List<Repaireman> getRepairmansByStatus();

	public Repaireman login(String id) throws RepairmanException;

	public void updateRepairmanPassword(Repaireman repaireman, String newpass)
			throws RepairmanException;

	public Repaireman updateRepairemanInfo(Repaireman repaireman, String saveDir)
			throws RepairmanException;

	public void logout(String id) throws RepairmanException;

	public void updatePasswordNoValidate(Repaireman form) throws RepairmanException;
}
